package com.huawei.translate.vo.user;

import org.apache.commons.lang3.StringUtils;

public class UserAuthorizeRequest {
    private String username;
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isEmpty() {
        return StringUtils.isEmpty(username) || StringUtils.isEmpty(password);
    }
}
